package com.xxx.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Game {
    private Integer id;

    private String gameMageUrl;

    private String gameName;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date gamePublishTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date gameStartTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date gameEndTime;

    private Boolean isHaveReferee;

    private String gameLocation;

    private String gamePublishUserName;

    private Long gamePublishUserPhone;

    private Double gameLocationDistance;

    private Boolean isLack;

    private Integer numberOfTeam;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGameMageUrl() {
        return gameMageUrl;
    }

    public void setGameMageUrl(String gameMageUrl) {
        this.gameMageUrl = gameMageUrl == null ? null : gameMageUrl.trim();
    }

    public String getGameName() {
        return gameName;
    }

    public void setGameName(String gameName) {
        this.gameName = gameName == null ? null : gameName.trim();
    }

    public Date getGamePublishTime() {
        return gamePublishTime;
    }

    public void setGamePublishTime(Date gamePublishTime) {
        this.gamePublishTime = gamePublishTime;
    }

    public Date getGameStartTime() {
        return gameStartTime;
    }

    public void setGameStartTime(Date gameStartTime) {
        this.gameStartTime = gameStartTime;
    }

    public Date getGameEndTime() {
        return gameEndTime;
    }

    public void setGameEndTime(Date gameEndTime) {
        this.gameEndTime = gameEndTime;
    }

    public Boolean getIsHaveReferee() {
        return isHaveReferee;
    }

    public void setIsHaveReferee(Boolean isHaveReferee) {
        this.isHaveReferee = isHaveReferee;
    }

    public String getGameLocation() {
        return gameLocation;
    }

    public void setGameLocation(String gameLocation) {
        this.gameLocation = gameLocation == null ? null : gameLocation.trim();
    }

    public String getGamePublishUserName() {
        return gamePublishUserName;
    }

    public void setGamePublishUserName(String gamePublishUserName) {
        this.gamePublishUserName = gamePublishUserName == null ? null : gamePublishUserName.trim();
    }

    public Long getGamePublishUserPhone() {
        return gamePublishUserPhone;
    }

    public void setGamePublishUserPhone(Long gamePublishUserPhone) {
        this.gamePublishUserPhone = gamePublishUserPhone;
    }

    public Double getGameLocationDistance() {
        return gameLocationDistance;
    }

    public void setGameLocationDistance(Double gameLocationDistance) {
        this.gameLocationDistance = gameLocationDistance;
    }

    public Boolean getIsLack() {
        return isLack;
    }

    public void setIsLack(Boolean isLack) {
        this.isLack = isLack;
    }

    public Integer getNumberOfTeam() {
        return numberOfTeam;
    }

    public void setNumberOfTeam(Integer numberOfTeam) {
        this.numberOfTeam = numberOfTeam;
    }
}